package hehe.container.format;

import hehe.container.build.annotation.Format;

import java.lang.reflect.Field;


/**
 * Double类型转换
 *<B>说明：</B>
 *<pre>
 * 略
 *</pre>
 *<B>示例：</B>
 *<pre>
 *  略
 *</pre>
 *<B>日志：</B>
 *<pre>
 *  略
 *</pre>
 *<B>注意事项：</B>
 *<pre>
 *  略
 *</pre>
 */
@Format(
        dataFormat="DoubleFormat",
        formatTypes={"java.lang.Double","double"},
        formatArgs={String.class,Field.class}
)
public class DoubleFormat extends DataFormat
{
    public static Object parse(String value,Field field)
    {
        return Double.valueOf(value);
    }
}
